﻿//============================================================
// Producnt name:		CodeSmith HZ-ACCP
// Version: 			2.0
// Coded by:			yan.guo (yan.guo@jb-aptech.com.cn)
// Auto generated at: 	2009-9-13 14:51:51
//============================================================

using System;
using System.Collections.Generic;
using System.Text;

namespace MyOA.Model
{
    [Serializable()]
    public class LoginLog
    {
        #region ==== Variable ====
        private int loginId;
        private UserInfo user;
        private DateTime loginTime;
        private string ifSuccess = string.Empty;
        private string loginUserIp = String.Empty;
        #endregion

        public LoginLog()
        {
            User = new UserInfo();
        }

        #region ==== Property ====
        public int LoginId
        {
            get { return this.loginId; }
            set { this.loginId = value; }
        }
        public UserInfo User
        {
            get { return this.user; }
            set { this.user = value; }
        }

        public DateTime LoginTime
        {
            get { return this.loginTime; }
            set { this.loginTime = value; }
        }
        public string IfSuccess
        {
            get { return this.ifSuccess; }
            set { this.ifSuccess = value; }
        }
        public string LoginUserIp
        {
            get { return this.loginUserIp; }
            set { this.loginUserIp = value; }
        }
        #endregion
    }
}
